﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RconLibrary.Protocol
{
    /// <summary>
    /// Composite parameter.
    /// </summary>
    interface IComposite
    {
        /// <summary>
        /// Gets all parameters.
        /// </summary>
        /// <returns>List of parameters.</returns>
        IEnumerable<object> GetParameters();

        /// <summary>
        /// Parameter parsing.
        /// </summary>
        /// <param name="parameters">List of packet parameters.</param>
        void Parse(List<string> parameters);
    }
}
